package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @author chencfgs
 * @date 2019-12-02 15:37
 */
public interface SetmealService {

    void addSetmeal(Setmeal setmeal);

    void addIds(Integer id, Integer checkgroupId);


    Page<Setmeal> findPage(QueryPageBean param);

    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    void add(Setmeal setmeal, Integer[] checkgroupIds);

    List<Setmeal> findAllSetmeal();


    String findById(String id);

    List<String> findAllSetmealName();

    List<Map<String, Object>> findSetmealCount();

}
